<?php echo $this->Javascript->link('check-input-file.js', true);?>

<div class="row uploadcontent ac mt40">
	<?php echo $this->Html->link('Download',array('controller' => 'm_avoidance_words', 'action' => 'csv_export'),
	array('class'=>'btn-lg input-file noradius cur-point btn-nocolor w100p nodecor','escape' => FALSE));?>
</div>


<div class="row uploadcontent ac mt40">
	<?php echo $form->create('MAvoidanceWord', array('type' => 'file','class'=>'formfileupload col-xs-4','id'=>'upload_file')); ?>
		<a><span id="file" class="btn-lg input-file noradius cur-point btn-nocolor">
			<i class="fa fa-upload fa-1x"></i> Click to choose import file
		</span></a>
		<?php echo $form->file('file_name',array()); ?>
		<?php echo $form->submit('Upload',array('class'=>'btn btn-lg noradius btn-nocolor','id'=>'sb_upload_word'));?>
		<?php echo $form->end();?>
</div>

   	<?php
   	/**** Message ****/
   	echo $this->Session->flash();
   	?>